import { useApplicationStore } from "@/stores/application"

export function useOpenedApplications() {
  const applicationStore = useApplicationStore()
  return applicationStore.applicationsContext.getApplicationsRef((application) =>
    application.isOpened()
  )
}
